package org.cxa.rpc.cloud.configurationConsole;

import javax.swing.JPanel;

import java.awt.BorderLayout;

import javax.swing.JTabbedPane;

import org.cxa.rpc.cloud.client.TransientDevice;
import org.cxa.rpc.cloud.configurationConsole.userManagement.UserManagementPanel;

public class MainPanel extends JPanel
{
	private static final long serialVersionUID = -7184783483876205264L;

	
	/**
	 * Create the panel.
	 */
	public MainPanel(TransientDevice tDevIn)
	{
		setLayout(new BorderLayout(0, 0));
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		add(tabbedPane, BorderLayout.CENTER);
		
		UserManagementPanel userManagementPanel = new UserManagementPanel(tDevIn);
		tabbedPane.addTab("Users/Groups", null, userManagementPanel, null);
	}

}
